package com.gla.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gla.entity.User;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrderInfoDTO {

    private Integer id;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date create_time;

    private User user;

    private Integer state;

    private String receive_address;

    private String remarks;

    /**
     * 商品详情列表
     */
    private List<OrderDetailDTO> orderDetailList;
}
